The PSR2 standard recommends listing modifiers in the following order to improve the readability of PHP source code:
- final or abstract
- public or protected or private
- static
Noncompliant code example
static protected $foo;
...
public static final function bar(){...}
Compliant solution
protected static $foo;
...
final public static function bar(){...}